package org.comple.erp.pojo.finance;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;

import java.io.Serializable;

import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

/**
* 
* @TableName prepaid_order
*/
public class PrepaidOrder implements Serializable {

    /**
    * 
    */
    @NotNull(message="[]不能为空")
    @ApiModelProperty("")
    private Integer payment_id;
    /**
    * 
    */
    @ApiModelProperty("")
    private Integer supplier_id;
    /**
    * 
    */
    @ApiModelProperty("")
    private BigDecimal amount;
    /**
    * 
    */
    @ApiModelProperty("")
    private Date receipt_date;
    /**
    * 
    */
    @ApiModelProperty("")
    private Integer account_id;
    /**
    * 
    */
    @Size(max= 50,message="编码长度不能超过50")
    @ApiModelProperty("")
    @Length(max= 50,message="编码长度不能超过50")
    private String company_code;
    /**
    * 
    */
    @ApiModelProperty("")
    private BigDecimal receipt_amount_written_off;
    /**
    * 
    */
    @ApiModelProperty("")
    private Integer status;

    public Integer getPayment_id() {
        return payment_id;
    }

    public void setPayment_id(Integer payment_id) {
        this.payment_id = payment_id;
    }

    public Integer getSupplier_id() {
        return supplier_id;
    }

    public void setSupplier_id(Integer supplier_id) {
        this.supplier_id = supplier_id;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Date getReceipt_date() {
        return receipt_date;
    }

    public void setReceipt_date(Date receipt_date) {
        this.receipt_date = receipt_date;
    }

    public Integer getAccount_id() {
        return account_id;
    }

    public void setAccount_id(Integer account_id) {
        this.account_id = account_id;
    }

    public String getCompany_code() {
        return company_code;
    }

    public void setCompany_code(String company_code) {
        this.company_code = company_code;
    }

    public BigDecimal getReceipt_amount_written_off() {
        return receipt_amount_written_off;
    }

    public void setReceipt_amount_written_off(BigDecimal receipt_amount_written_off) {
        this.receipt_amount_written_off = receipt_amount_written_off;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
